package com.mh.jdbc.entity;


public class MBean {
	private int startRow;
	private int size;
	public int getStartRow() {
		return startRow;
	}
	public void setStartRow(int startRow) {
		this.startRow = startRow;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public <T> void setPage(IPage<T> pg) {
		this.startRow = pg.getStartRow();
		this.size = pg.getPageSize();
	}
}
